<?php

/**
 * @author Edson5
 * @copyright 2011
 */

$codigo=$_GET['codigo'];

$ruta=$_SERVER['DOCUMENT_ROOT']."/viventura/MDHoteles";
$ruta2=$_SERVER['DOCUMENT_ROOT']."/viventura";
$codigo=$_GET['codigo'];




include_once("$ruta/conf/CConfig.php");
include_once("$ruta/elements/head2.tpl");

include_once("$ruta2/view/CDrawMenu.php");
include_once("$ruta2/view/CDrawPage.php");
include_once("$ruta/view/CDrawHotel.php");
include_once("$ruta2/view/CDrawPageReg.php");
$instance=new CDrawHotel();
?>
<script type="text/javascript">
filtra('basic');
//filtraadv('demotable1');
</script>

<?php
//$instance->DrawAlertsHotels();
?>
<div id="two_column_left_sidebar_maincontent">
<div id="content_area_user_title"><h2>Asignación de Hoteles </h2></div>
<div class="contentWrapper">
</div>
<?php


$instance->CDraw_td_Widget($codigo);


?>
</div>


<!--<div id="two_column_left_sidebar" >
-->
<div id="two_column_left_sidebar" style="display: none;">
<div id="owner_block" >
<?php
$items=array("uno"=>"uno");
$instance->inputFilters($items);
$campos=array();
$campos=array("idHot"=>"idhot","NamHot"=>"NamHot");
$instance->DrawTable("Hoteles","hoteles",$campos);
?>
</div>
</div>
<!--</div>
--><?php



$instance->DrawDivAdBegin("clearfloat");
$instance->DrawDivAdEnd();





include_once("$ruta/elements/foot.tpl");
?>
